/*
 * @Descripttion: 
 * @version: 
 * @Author: turingchang
 * @Date: 2020-12-16 11:14:48
 * @LastEditors: turingchang
 * @LastEditTime: 2020-12-29 12:17:31
 */

module.exports = app => {
    const {router,controller} = app;
    const homeRouter = router.namespace('/api/home');
    homeRouter.get('/', controller.test.index);
    // router.redirect('/news/list','/news');//重定向使用router而不是homeRouter
} 